package com.buer.storage.otherService.impl;


import com.buer.storage.otherDao.Formson126Dao;
import com.buer.storage.otherEntity.Formson126DO;
import com.buer.storage.otherService.Formson126Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class Formson126ServiceImpl implements Formson126Service {
	@Autowired
	private Formson126Dao formson126Dao;
	
	@Override
	public Formson126DO get(Integer id){
		return formson126Dao.get(id);
	}

	
	@Override
	public int save(Formson126DO formson126){
		return formson126Dao.save(formson126);
	}
	
	@Override
	public int update(Formson126DO formson126){
		return formson126Dao.update(formson126);
	}
	
	@Override
	public int remove(Integer id){
		return formson126Dao.remove(id);
	}

    @Override
    public List<Formson126DO> getFormson126List(Map<String, Object> map) {

        List<Formson126DO> list = formson126Dao.getFormson126List(map); // 获取数据

        return list;
    }

    @Override
    public Formson126DO getOne(Map<String, Object> map){
        return formson126Dao.getOne(map);
    }
	
}
